import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/analysis',
    component: () => import('./views/Main'),
    children: [
      {
        path: '/analysis/download',
        component: () => import('./views/Download')
      },
      {
        path: '/analysis/detail',
        component: () => import('./views/Analysis')
      },
      {
        path: '/analysis/cross',
        component: () => import('./views/Cross')
      }
    ]
  },
  {

  }

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router